﻿<%@ Page Title="订阅服务" Language="C#" MasterPageFile="~/member/mMenber.master" AutoEventWireup="true" CodeBehind="subcribebroke.aspx.cs" Inherits="map.member.WebForm3" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head2" runat="server">
    <link href="../outstyle.css" rel="stylesheet" type="text/css" />
    <link href="../Stylesheet1.css" rel="stylesheet" type="text/css" />
      <script src="../js/dropdowncontent.js" type="text/javascript"></script>

    <script src="../js/JScript1.js" type="text/javascript"></script>

    <script src="../js/dom-drag.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder3" runat="server">
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>

<div id="contentdiv">
    <span id="l11">已订阅的服务：</span>
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            Width="590px" DataKeyNames="RECID" 
                CellPadding="4" ForeColor="#333333" GridLines="None" 
                onrowediting="GridView1_RowEditing">
                <RowStyle BackColor="#EFF3FB" />
                <Columns>                    
                  <asp:BoundField DataField="RECID" HeaderText="RECID" Visible="False" />
                    <asp:BoundField DataField="BrokerID" HeaderText="经纪人" HeaderStyle-HorizontalAlign="Center">
                      <ItemStyle HorizontalAlign="Center" />
                    </asp:BoundField>
                     
                    
                   <%-- <asp:BoundField DataField="IsConfirmed"  HeaderText="是否通过" ItemStyle-HorizontalAlign="Center" />--%>
                  <%--  <asp:TemplateField>
                    <HeaderTemplate>
                    状态
                    </HeaderTemplate>
                    <HeaderStyle HorizontalAlign="Center" />
                    <ItemTemplate>
                    <%#(Eval("BokerStatus").ToString() == "0" ? "没有申请" : (Eval("BokerStatus").ToString() == "1"?"未通过":"已通过"))%>
                    
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Center" />
                    </asp:TemplateField>--%>
                    
                    <asp:BoundField DataField="StartDate" HeaderText="开始时间" HeaderStyle-HorizontalAlign="Center">
                      <ItemStyle HorizontalAlign="Center" />
                    </asp:BoundField>
                 <%--     <asp:BoundField DataField="EndDate" HeaderText="结束时间" >
                      <ItemStyle HorizontalAlign="Center" />
                    </asp:BoundField>
                    --%>
                    
                   <asp:CommandField EditText="取消订阅" HeaderText="取消订阅" SelectText="" 
                        ShowEditButton="True" />
                                         <%-- <asp:TemplateField>
                    <HeaderTemplate>
                    付费
                    </HeaderTemplate>
                    <HeaderStyle HorizontalAlign="Center" />
                    <ItemTemplate>
                    
                    <a href="/member/brokeropervalid.aspx?cbshopid=<%# Eval("RECID").ToString()%>&redirecturl=configshop_nomal.aspx" target="_blank">
                                                        付费</a>
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Center" />
                    </asp:TemplateField>--%>
                </Columns>
                <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                <EmptyDataTemplate>
                    无订阅信息。
                </EmptyDataTemplate>
                <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                <EditRowStyle BackColor="#2461BF" />
                <AlternatingRowStyle BackColor="White" />
            </asp:GridView>
            <br />
            <hr />
            <span id="l22">查找服务:</span>
            <br />
            <asp:TextBox ID="Searchbox" runat="server"></asp:TextBox>
            <asp:Button ID="SearchButton" runat="server" text="查找" 
    onclick="SearchButton_Click"/><span id="searchtips">输入条件为经纪人用户名</span>
           <br />
           <asp:Label ID="ShowMessage" runat="server"></asp:Label><br />
           <asp:Label ID="brokerName" runat="server"></asp:Label><br />
           <asp:Label ID="subPrice" runat="server"></asp:Label>
           <asp:Button ID="Button1" runat="server" text="订阅" 
    onclick="Button1_Click"/>
    <asp:Label ID="Label1" runat="server" Text=""></asp:Label><br />
    <asp:Label ID="showWarning" runat="server" Text="注意：订阅成功后可在<a href='order/buy_9.aspx' target=_blank>已收货</a>查看详细。" Font-Bold="True" Font-Size="Larger" BorderColor="#FF3300"></asp:Label>
           <asp:Label ID="hideAmount" runat="server" Visible="false"></asp:Label>
</div>
</ContentTemplate>
</asp:UpdatePanel>
</asp:Content>
